package com.theaf.basemodule.common.condition;

import com.theaf.core.annotation.Logic;
import com.theaf.core.repo.specification.SqlOperator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:songwenke
 * @Description:
 * @Date:create in 13:46 2018/6/19
 * @Modified By:
 **/
@ApiModel("地区条件")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AreaCondition {
    @ApiModelProperty("名称")
    @Logic(SqlOperator.OPER.LIKE)
    private String name;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("顶级名（只显示此级及下级地区")
    private String topName;
    @ApiModelProperty("过滤ID,用于修改时选择父地区时要显示的下拉数据")
    private Long filterId;
}
